package errors

import "github.com/gogf/gf/v2/errors/gcode"

// 系统级别错误码
var (
	CodeSuccess        = gcode.New(200, "success", nil)
	CodeUnknownError   = gcode.New(1, "unknown", nil)
	CodeNotAuthorized  = gcode.New(401, "not authorized", nil)
	CodeForbidden      = gcode.New(403, "forbidden", nil)
	CodeNotFound       = gcode.New(404, "not found", nil)
	CodeTooManyRequest = gcode.New(429, "too many request", nil)
	CodeServerError    = gcode.New(500, "internal error", nil)
)
